package com.tengfei.main.question.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tengfei.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 题库对象 qb_question_bank
 *
 * @author tengfei
 * @date 2022-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("qb_question_bank")
public class QuestionBank extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "qb_id")
    private Long qbId;
    /**
     * 题库名称
     */
    private String qbName;
    /**
     * 题库介绍
     */
    private String qbDesc;
    /**
     * 题库封面
     */
    private String qbCover;
    /**
     * 是否开放
     */
    private Integer qbShow;
    /**
     * 题库模式
     */
    private Integer qbPattern;
    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer showStatus;

}
